﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects.Production;

namespace DataObjects.Interface.Production
{
    public interface IInwardOutwardDao
    {
        List<InwardOutward> GetInwardOutwards();
        List<InwardOutward> GetInwardOutwardsByRefType(string refType);
        List<InwardOutward> GetInwardOutwardsByBranch(string refType, string restaurantId);
        InwardOutward GetInwardOutward(string refId);
        List<InwardOutward> GetInwardOutwardsPagedByBranch(int refType, string restaurantId, int currentPage, bool isMaterial);
        int GetTotalPageByBranch(int refType, string restaurantId, bool isMaterial);
        void InsertInwardOutward(InwardOutward inwardOutward);
        void UpdateInwardOutward(InwardOutward inwardOutward);
        void DeleteInwardOutward(InwardOutward inwardOutward);
    }
}
